package com.net.xpay.common.manager.sync;

import com.net.common.manager.DomainManager;
import com.net.xpay.common.domain.sync.CommonPayTransBatch;
import com.net.xpay.common.model.TransStatSumDataModel;
import com.net.xpay.core.model.PayTransBatchSearchModel;
import com.net.xpay.common.model.TransStatModel;

import java.time.LocalDateTime;
import java.util.List;


public interface CommonPayTransBatchManager extends DomainManager<Long,CommonPayTransBatch> {
    List<CommonPayTransBatch> search(PayTransBatchSearchModel searchModel);

    long searchCount(PayTransBatchSearchModel searchModel);

    TransStatSumDataModel sumAccumulatedData();

    TransStatModel sumTransStat(LocalDateTime startTime, LocalDateTime endTime);

    long sumTotalPaidAlipayUserCount(LocalDateTime startTime, LocalDateTime endTime);

    List<Long> listTotalVeryMerchantIds();

    long statPayTransActivePartnerCount(LocalDateTime minEndTime, LocalDateTime maxEndTime);
}
